package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业对象 t_speciality
 * 
 * @author ruoyi
 * @date 2023-08-15
 */
public class TSpeciality extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String specialityName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creatorId;

    /** 0无效 1有效 */
    @Excel(name = "0无效 1有效")
    private Integer validFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSpecialityName(String specialityName) 
    {
        this.specialityName = specialityName;
    }

    public String getSpecialityName() 
    {
        return specialityName;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setValidFlag(Integer validFlag) 
    {
        this.validFlag = validFlag;
    }

    public Integer getValidFlag() 
    {
        return validFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specialityName", getSpecialityName())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("validFlag", getValidFlag())
            .toString();
    }
}
